﻿namespace proba_pera
{
    public class User:RwpBaseObject
    {
        private readonly int _userId;
        private readonly int _color;

        User(int id, int color, string name)
        {
            _userId = id;
            _color = color;
            Name = name;
        }

        public int UserId
        {
            get { return _userId; }
        }

        public int Color
        {
            get { return _color; }
        }

        public string Name { get; set; }
    }
}